<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Append a Bezier curve to the current path</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="harupage.createurlannotation.html">HaruPage::createURLAnnotation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="harupage.curveto3.html">HaruPage::curveTo3</a></div>
 <div class="up"><a href="class.harupage.html">HaruPage</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="harupage.curveto2" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">HaruPage::curveTo2</h1>
  <p class="verinfo">(PECL haru &gt;= 0.0.1)</p><p class="refpurpose"><span class="refname">HaruPage::curveTo2</span> &mdash; <span class="dc-title">Append a Bezier curve to the current path</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-harupage.curveto2-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>HaruPage::curveTo2</strong></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$x2</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$y2</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$x3</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$y3</code></span>
   )</div>

  <p class="para rdfs-comment">
   Appends a Bezier curve to the current path.
   The current point and the point (x2, y2) are used as the control points for
   the Bezier curve and current point is moved to the point (x3, y3).
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-harupage.curveto2-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">x2</code></em></dt>

     <dd>

      <p class="para">
       A Bezier curve control point.
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">y2</code></em></dt>

     <dd>

      <p class="para">
       A Bezier curve control point.
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">x3</code></em></dt>

     <dd>

      <p class="para">
       The current point moves here.
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">x3</code></em></dt>

     <dd>

      <p class="para">
       The current point moves here.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-harupage.curveto2-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> on success.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-harupage.curveto2-errors">
  <h3 class="title">错误／异常</h3>
  <p class="para">发生错误时抛出 <a href="class.haruexception.html" class="classname">HaruException</a> 异常。</p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="harupage.createurlannotation.html">HaruPage::createURLAnnotation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="harupage.curveto3.html">HaruPage::curveTo3</a></div>
 <div class="up"><a href="class.harupage.html">HaruPage</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
